package org.darack_application;

class Contact {
	private String name = "";
	private int Icon;
	private String iden_num ="";
	private String phone ="";
	private String email ="";
	private String workarea ="";
	
	boolean isHeader=false;

	public Contact(String iden_num,String name,String phone,String email,String workarea,int aIcon) {
		if(!(iden_num.equals("null")))
			this.iden_num=iden_num;
		if(!(name.equals("null")))
			this.name = name;
		if(!(phone.equals("null")))
			this.phone=phone;
		if(!(email.equals("null")))
			this.email=email;
		if(!(workarea.equals("null")))
			this.workarea=workarea;
		this.Icon=aIcon;
	}
	public Contact(boolean header,String iden_num){
		this.isHeader=header;
		this.iden_num=iden_num;
	}

	public boolean isHeader() {
		return isHeader;
	}
	
	public void setHeader(boolean isHeader) {
		this.isHeader = isHeader;
	}
	
	public String getIden_num() {
		return iden_num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public String getEmail() {
		return email;
	}

	public String getWorkarea() {
		return workarea;
	}

	public int getIcon() {
		return Icon;
	}

}
